/* vim: set expandtab tabstop=4 shiftwidth=4: */
/**
 * CASL color scheme
 */

body {
    margin: 30px 0px;
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    background: #000 url(../images/Page_Bg.jpg) -5px 0;
}

#page {
    max-width: 1024px;
}

#branding {
    background: #000 url(../images/CASL/CASL_Bg_Header.jpg) top right no-repeat;
    height: 101px;
    z-index: 999;
}

#default-menus {
    display: block;
}
   
#mobile-menus {
    display: none;
}

#site-title {
    text-align: center;
    /*position: absolute;*/
    /*top: 0;*/
    width: 100%;
    padding: 2.5em 0;
}

#site-title a {
    font-size: 40px;
    line-height: 40px;
}

#site-title a,
#site-title a:focus,
#site-title a:active,
#site-title a:hover,
#site-title a:visited {
    color: #fff;
}

#site-description {
    border: medium none;
    margin: 0;
    padding: 0 0 0 10px;
    position: absolute;
    top: -25px;
    left: 0px;
    font-size: 1em;
}

#branding #searchform {
    top: 0.5em;
    right: 1.0%;
}

div#caslhdr {
    position: absolute;
    top: 0.25em;
    left: 0.0%;
}

div#caslleaguelogoimg {
    float: left;
    /*padding: 5px 0px 0px 5px;*/
    margin: auto 0px auto: 5px;
}

#casl-footer {
    line-height: 1.5em;
}

.nocomments {
    display: none;
}

div#site-generator {
    background: #000 url(../images/soccer/SoccerBallFooterCorner.png) no-repeat 100% 100%;
}

/** Soccer Team plugin styles */
body.single-player footer.entry-meta {
    padding-top: 100px;
}

div.st-team-photo {
    text-align: center;
}

img.st-player-photo {
    float: right;
}

div.st-player-profile-details {
    padding-right: 225px;
}

div.st-player-qr-code, div.st-team-qr-code {
    display: block;
    position: absolute;
    right: 0;
    top: 2.0em;
    margin-top: 25px;
}

img.st-player-qr-code, img.st-team-qr-code {
    border: 1px solid #222;
}

/**
 * Support for Google Calendar Events plugin.
 *
 * @see http://wordpress.org/extend/plugins/google-calendar-events/
 */
td.gce-has-events {
    color: #E51937 !important;
    background-repeat: no-repeat;
    background-image: url(../images/soccer/SoccerBallFooterCorner.png);
    background-position: 125% 125%;
}

td.gce-has-events.gce-day-future {
    color: #991125 !important;
}

caption.gce-caption {
    font-size: 3em;
}

a.gce-change-month {
    color: #333333 !important;
}

.gce-list-event {
    color: #E51937 !important;
    background-color: transparent !important;
}

/**
 * Drop Down Menu for mobile use
 */
select.menu.dropdown-menu {
    font-weight: bold;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    line-height: 3.333em;
    background: -moz-linear-gradient(#383838, #272727) repeat scroll 0 0 transparent;
    width: 100%;
    padding: 9px;
    border: none;
    color: #eeeeee;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-appearance: none;
}    

/* =Responsive Structure
----------------------------------------------- */

@media (max-width: 800px) {
    #site-title {
        padding: 1.0em 0;
    }

    #site-title a {
        font-size: 2.2em;
        line-height: 2.2em;
    }
    
    #branding {
        background: #000 url(../images/CASL/CASL_Bg_Header-800x79.jpg) top right no-repeat;
        height: auto;
    }

    div#caslleaguelogoimg {
        padding: 3px 0 0 3px;
    }
    
    #branding img {
        width: auto;
        max-height: 65px;
        padding: 3px 0px 0px 3px;
    }

    #default-menus {
        display: none;
    }
   
    #mobile-menus {
        display: block;
    }
}

@media (max-width: 650px) {
    #branding {
        background: #000 url(../images/CASL/CASL_Bg_Header-650x64.jpg) top right no-repeat;
        height: auto;
    }

}

/*
@media (max-width: 450px) {
}
*/

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    body {
        margin: 15px 0px;
    }

    #site-title a {
        font-size: 1em;
        line-height: 1em;
        padding-left: 20px;
    }
    
    #branding {
        background: #000 url(../images/CASL/CASL_Bg_Header-480x47.jpg) top right no-repeat;
        height: auto;
    }

    #site-description {
        font-size: 0.4em;
        line-height: 0.4em;
        top: -10px;
        padding: 0px;
    }

    #branding #searchform {
        top: 0.1em;
        right: 1.0%;
    }

    #branding #s {
        width: 36px;
    }

    #branding #s:focus {
        width: 93px;
    }

    input#s {
        font-size: 8px;
        height: 16px;
        line-height: 1.0em;
        padding: 2px 5px 2px 14px;
    }        

    div#caslleaguelogoimg img {
        display: inline-block;
        max-height: 33px;
        width: auto;
        padding: 0px 3px 0px 0px;
        margin: auto 3px auto 0px;
    }

    select.menu.dropdown-menu {
        line-height: 1.0em;
    }

    div.st-player-profile {
        display: inline-block;
        margin: 0px auto;
        width:100%;
    }

    div.st-player-photo {
        margin: 0px auto;
    }

    img.st-player-photo {
        float: none;
        clear: both;
        display: block;
        margin: 0px auto;
    }

    div.st-team-qr-code, div.st-player-qr-code {
        display: none;
    }

    div.st-player-profile-details {
        padding-right: 5px;
    }
}

/* =Print
----------------------------------------------- */

@media print {
}


